﻿namespace FinMkts
{
    /// <summary>
    /// The times a instrument is traded in a market place
    /// </summary>
    public class TradingTimes
    {
        /// <example>
        /// 6:00 pm till 7:15 am and 9:30 am till 1:15 pm, Sunday to Friday
        /// </example>
        public string BusinessHours { get; set; }

        /// <example>
        /// 9:30 am till 1:15 pm, Sunday and holidays
        /// </example>
        public string NonBusinessHours { get; set; }

        /// <summary>
        /// The calendar to use (includes time zone)
        /// </summary>
        public BusinessCalendar Calendar { get; set; }
    }
}